<template>
  <div class="add">
      <button @click="add(1)">+1</button>
    <button @click="add(5)">+5</button>
    <button @click="add(10)">+10</button>
  </div>
</template>
<script>
export default
{
    methods: {
        add(count)
        {
            this.$emit("add",count)
        }
    },
}
</script>
<style scoped>
</style>